package com.xhsj.user.hr.process.processDefinition.mapper;

import com.xhsj.user.hr.process.processDefinition.entity.TbGlobalWorkFlowNodeJudge;
import com.xhsj.user.hr.process.processDefinition.query.TbGlobalWorkFlowNodoJudgeQuery;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * <p>
 * 流程设计-流程节点判断条件 Mapper 接口
 * </p>
 *
 * @author liuqinghua
 * @since 2020-09-21
 */
@Mapper
public interface TbGlobalWorkFlowNodeJudgeMapper extends BaseMapper<TbGlobalWorkFlowNodeJudge> {

    /**
     * 查询所有数据
     * @author liuqinghua
     * @date Sep 21, 2020 9:09:30 AM
     */
    List<TbGlobalWorkFlowNodoJudgeQuery> getAll();

    /**
     * 查询所有数据通过流程类型
     * @author liuqinghua
     * @date Sep 21, 2020 9:09:30 AM
     */
    List<TbGlobalWorkFlowNodoJudgeQuery> getAllByDictId(@Param("applyType") Integer applyType);
}
